package com.hgxd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hgxd.entity.pojo.Humiture;
import com.hgxd.entity.res.GetHumitureVo;
import com.hgxd.entity.res.ResHumiture;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 温湿度表 Mapper 接口
 * </p>
 *
 * @author fsd
 * @since 2023-10-18
 */
@Mapper
public interface HumitureMapper extends BaseMapper<Humiture> {
    List<ResHumiture> selectMaxTemperatureHumidityPerDay(String time, String name);


    List<ResHumiture> getDataByTimeAndOrganizationName(GetHumitureVo getHumitureVo);


    List<ResHumiture> getDataByTimeAndEquipmentName(GetHumitureVo getHumitureVo);

    List<ResHumiture> getEquipmentDataByOrganization(String organizationName);

    List<ResHumiture> selectMaxTemperatureHumidityPerDay3(String time, String name);
}
